package com.jeepig.evaluation.domain;

import com.jeepig.common.annotation.Excel;
import com.jeepig.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 人员评价对象 ev_menber_evaluation
 *
 * @author guoxb
 * @date 2025-11-01
 */
public class MenberEvaluation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long memberId;

    /** 评价单位ID */
    @Excel(name = "评价单位ID")
    private Long deptId;

    /** 评价项ID */
    @Excel(name = "评价项明细ID")
    private Long evaluateItemId;

    /** 评价项名称 */
    @Excel(name = "评价项Id")
    private Long evaluateId;

    /** 评价项名称 */
    @Excel(name = "评价项名称")
    private String evaluateName;

    /** 评价分数 */
    @Excel(name = "评价分数")
    private String score;
    /**
     * 选中的单位ID
     */
    private Long[] deptIds;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setEvaluateItemId(Long evaluateItemId)
    {
        this.evaluateItemId = evaluateItemId;
    }

    public Long getEvaluateItemId()
    {
        return evaluateItemId;
    }

    public Long getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(Long evaluateId) {
        this.evaluateId = evaluateId;
    }

    public String getEvaluateName() {
        return evaluateName;
    }

    public void setEvaluateName(String evaluateName) {
        this.evaluateName = evaluateName;
    }

    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }

    public Long[] getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(Long[] deptIds) {
        this.deptIds = deptIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("deptId", getDeptId())
            .append("evaluateItemId", getEvaluateItemId())
            .append("evaluateName", getEvaluateName())
            .append("score", getScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
